package com.mfdm.server.app.model;

import com.mfdm.server.utils.PoemType;

public class Poem extends Document {

	private PoemType poemType;
	
	
	public Poem(String title, Author author) {
		super(title, author);
	}

	public PoemType getPoemType() {
		return poemType;
	}

	public void setPoemType(PoemType poemType) {
		this.poemType = poemType;
	}

	@Override
	public String toString() {
		return super.toString() + "Poem [poemType=" + poemType + "]";
	}		
	
}
